package com.pactera.miyuangroup.db.mapper;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.pactera.miyuangroup.db.entity.VendorPassageway;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pactera.miyuangroup.vo.response.app.AppPageVenderGoodsRes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 售货机货道 Mapper 接口
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
public interface VendorPassagewayMapper extends BaseMapper<VendorPassageway> {


    /**
     * APP 售货机商品查询
     * @param pagination
     * @param wrapper
     * @return
     */
    List<AppPageVenderGoodsRes> getAppVenderGoods(Pagination pagination, @Param("ew") EntityWrapper wrapper);

}
